package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class OrderUpdateDTO extends AdminUpdate {
    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderid;

    @ApiModelProperty("用户ID")
    private Long uid;

    @ApiModelProperty("课程ID")
    private Long cid;

    @ApiModelProperty("下单时间")
    private String order_time;

    @ApiModelProperty("订单状态")
    private String status;

    @ApiModelProperty("总金额")
    private Double total_amount;

    @ApiModelProperty("折扣金额")
    private Double discount;

    @ApiModelProperty("实际支付金额")
    private Double final_amount;
}
